{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['pos out of text length']\n"
     ]
    }
   ],
   "source": [
    "import requests\n",
    "\n",
    "\n",
    "x = requests.post('http://172.17.84.211:54302/', json={\"text\":\"我在朝阳区人民公园迎着朝阳奔跑\", \"pos\":[20,4,10,9]})\n",
    "result = x.text.split('\\n')[:-1]\n",
    "print(result)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3.7.13 ('py37')",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.13"
  },
  "orig_nbformat": 4,
  "vscode": {
   "interpreter": {
    "hash": "74fe859eaf5d00bce5565637797e820181e41cef3326bb2f5cfc02a88bf2f28b"
   }
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
